/**
 * form表单的格式配置
 *
 */
export const CroInfoFormConfig = [
  {
    fieldName: "id",
    fieldCNName: "",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "",
  },
  {
    fieldName: "corName",
    fieldCNName: "CRO名称",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    rules: {
      required: true, // 只有为true的时候才写，为false这个字段不要
      min: 1, // 这里min一定要写在前面！！！！
      max: 50,
    },
  },
  {
    /** 字段名，如：name */
    fieldName: "projectPerson",
    /** 字段对应的中文解释，如：姓名 */
    fieldCNName: "项目负责人",
    /** 字段的值，如：张三 */
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    rules: {
      required: true, // 只有为true的时候才写，为false这个字段不要
    },
  },
  {
    fieldName: "companyTel",
    fieldCNName: "公司电话",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputNumber",
  },
  {
    fieldName: "telphone",
    fieldCNName: "联系电话",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputNumber",
    rules: {
      len: 11,
    },
  },
];
